package com.study;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * @Author wfw
 * @Date 2020/07/11 20:09
 */
@SpringBootApplication
// 开启zuul网关功能
@EnableZuulProxy
// 开启服务发现功能
@EnableDiscoveryClient
public class GateServer {
    public static void main(String[] args) {
        SpringApplication.run(GateServer.class, args);
    }
}
